projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0eba99
)
(move_if_not_intangible): Fix previous change.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 31 May 1997 08:34:13 +0000
(08:34 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 31 May 1997 08:34:13 +0000
(08:34 +0000)
src/intervals.c
patch
|
blob
|
history
diff --git
a/src/intervals.c
b/src/intervals.c
index ce2adc375f3a0ed25f5da3f6d6374fff286d5fe1..024a4f3190315e13d55dcf35328c6cce26dd1063 100644
(file)
--- a/
src/intervals.c
+++ b/
src/intervals.c
@@
-1868,7
+1868,7
@@
move_if_not_intangible (position)
if (! NILP (Vinhibit_point_motion_hooks))
/* If intangible is inhibited, always move point to POSITION. */
;
- else if (PT < position)
+ else if (PT < position
&& pos < ZV
)
{
/* We want to move forward, so check the text before POSITION. */
@@
-1884,7
+1884,7
@@
move_if_not_intangible (position)
intangible_propval))
pos = Fprevious_char_property_change (pos, Qnil);
}
- else
+ else
if (pos > BEGV)
{
/* We want to move backward, so check the text after POSITION. */